package com.zbkj.common.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 系统菜单表
 * </p>
 *
 * @author Your Name
 * @since 2024-12-02
 */
@Data
  @EqualsAndHashCode(callSuper = false)
  @Accessors(chain = true)
@TableName("eb_system_menu")
@ApiModel(value="SystemMenu对象", description="系统菜单表")
public class SystemMenu implements Serializable {

    private static final long serialVersionUID=1L;

      @TableId(value = "id", type = IdType.AUTO)
      private Integer id;

      @ApiModelProperty(value = "父级ID")
      private Integer pid;

      @ApiModelProperty(value = "名称")
      private String name;

      @ApiModelProperty(value = "icon")
      private String icon;

      @ApiModelProperty(value = "权限标识")
      private String perms;

      @ApiModelProperty(value = "组件路径")
      private String component;

      @ApiModelProperty(value = "类型，M-目录，C-菜单，A-按钮")
      private String menuType;

      @ApiModelProperty(value = "排序")
      private Integer sort;

      @ApiModelProperty(value = "显示状态")
      private Boolean isShow;

      @ApiModelProperty(value = "是否删除")
      private Integer isDelte;

      @ApiModelProperty(value = "创建时间")
      private LocalDateTime createTime;

      @ApiModelProperty(value = "更新时间")
      private LocalDateTime updateTime;


}
